// 所有关于学员的接口
import axios from "axios";
import request from "../utils/request";

// 添加学员接口
export function _addStudent(data) {
  return request("/VueHandler/AdminHandler?action=adduser", "post", data);
}
// 获取学员列表接口
export function _getStudent(data) {
  return request("/VueHandler/AdminHandler?action=usershow", "post", data);
}
// 冻结解冻
export function _FreezeStudent(tokenId) {
  return request("/VueHandler/AdminHandler?action=lockuser", "get", {
    tokenId: tokenId,
  });
}
